Conversation
Typing conformance resultsNo changes detected ✅Current numbersThe percentage of diagnostics emitted that were expected errors held steady at 88.70%. The percentage of expected errors that received a diagnostic held steady at 84.63%. The number of fully passing files held steady at 84/134. |
Memory usage reportSummary
Significant changesClick to expand detailed breakdownsphinx
prefect
flake8
trio
|
|
| Lint rule | Added | Removed | Changed |
|---|---|---|---|
invalid-argument-type |
0 | 1 | 25 |
index-out-of-bounds |
0 | 2 | 0 |
invalid-assignment |
0 | 1 | 1 |
not-iterable |
0 | 0 | 2 |
| Total | 0 | 4 | 28 |
Flaky changes detected. This PR summary excludes flaky changes; see the HTML report for details.
Raw diff (32 changes)
dd-trace-py (https://github.com/DataDog/dd-trace-py)
- tests/contrib/pytest/test_pytest.py:66:19 error[index-out-of-bounds] Index 1 is out of bounds for tuple `tuple[str]` with length 1
- tests/contrib/pytest/test_pytest.py:75:46 error[invalid-argument-type] Argument to bound method `Span.get_tag` is incorrect: Expected `str`, found `Unknown | str | None`
+ tests/contrib/pytest/test_pytest.py:75:46 error[invalid-argument-type] Argument to bound method `Span.get_tag` is incorrect: Expected `str`, found `str | None`
jax (https://github.com/google/jax)
- jax/_src/internal_test_util/test_harnesses.py:1841:31 error[index-out-of-bounds] Index -1 is out of bounds for tuple `tuple[()]` with length 0
mitmproxy (https://github.com/mitmproxy/mitmproxy)
- examples/contrib/jsondump.py:137:17 error[invalid-argument-type] Argument to bound method `list.append` is incorrect: Expected `dict[str, tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | tuple[tuple[str, str], tuple[str, str]] | <class 'dict'>] | dict[str, tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | tuple[tuple[str, str], tuple[str, str]] | ((t) -> int)] | dict[str, tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | tuple[tuple[str, str], tuple[str, str]] | ((addr) -> dict[str, Unknown])] | dict[str, tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | tuple[tuple[str, str], tuple[str, str]] | ((ms) -> list[dict[str, Unknown | bytes | int]])]`, found `dict[str, tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | tuple[tuple[str, str], tuple[str, str]] | ((s: Buffer, altchars: Buffer | None = None) -> bytes)]`
+ examples/contrib/jsondump.py:137:17 error[invalid-argument-type] Argument to bound method `list.append` is incorrect: Expected `dict[str, tuple[tuple[str, str], ...] | tuple[tuple[str]] | <class 'dict'>] | dict[str, tuple[tuple[str, str], ...] | tuple[tuple[str]] | ((t) -> int)] | dict[str, tuple[tuple[str, str], ...] | tuple[tuple[str]] | ((addr) -> dict[str, Unknown])] | dict[str, tuple[tuple[str, str], ...] | tuple[tuple[str]] | ((ms) -> list[dict[str, Unknown | bytes | int]])]`, found `dict[str, tuple[tuple[str, str], ...] | tuple[tuple[str]] | ((s: Buffer, altchars: Buffer | None = None) -> bytes)]`
- examples/contrib/jsondump.py:182:20 error[not-iterable] Object of type `None | list[dict[str, tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | tuple[tuple[str, str], tuple[str, str]] | <class 'dict'>] | dict[str, tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | tuple[tuple[str, str], tuple[str, str]] | ((t) -> int)] | dict[str, tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | tuple[tuple[str, str], tuple[str, str]] | ((addr) -> dict[str, Unknown])] | dict[str, tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | tuple[tuple[str, str], tuple[str, str]] | ((ms) -> list[dict[str, Unknown | bytes | int]])]]` may not be iterable
+ examples/contrib/jsondump.py:182:20 error[not-iterable] Object of type `None | list[dict[str, tuple[tuple[str, str], ...] | tuple[tuple[str]] | <class 'dict'>] | dict[str, tuple[tuple[str, str], ...] | tuple[tuple[str]] | ((t) -> int)] | dict[str, tuple[tuple[str, str], ...] | tuple[tuple[str]] | ((addr) -> dict[str, Unknown])] | dict[str, tuple[tuple[str, str], ...] | tuple[tuple[str]] | ((ms) -> list[dict[str, Unknown | bytes | int]])]]` may not be iterable
- examples/contrib/jsondump.py:183:26 error[not-iterable] Object of type `tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str, str], tuple[str, str], tuple[str, str], tuple[str, str]] | tuple[tuple[str]] | ... omitted 5 union elements` may not be iterable
+ examples/contrib/jsondump.py:183:26 error[not-iterable] Object of type `tuple[tuple[str, str], ...] | tuple[tuple[str]] | <class 'dict'> | ... omitted 3 union elements` may not be iterable
pycryptodome (https://github.com/Legrandin/pycryptodome)
- lib/Crypto/SelfTest/Hash/test_SHA1.py:72:26 error[invalid-argument-type] Argument to bound method `list.append` is incorrect: Expected `tuple[str, str] | tuple[str, str, str]`, found `tuple[bytes, Unknown | Literal[b""], Unknown]`
+ lib/Crypto/SelfTest/Hash/test_SHA1.py:72:26 error[invalid-argument-type] Argument to bound method `list.append` is incorrect: Expected `tuple[str, ...]`, found `tuple[bytes, Unknown | Literal[b""], Unknown]`
scikit-learn (https://github.com/scikit-learn/scikit-learn)
- sklearn/externals/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, str, str] | tuple[str, str]` cannot be called with key of type `type[complex]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]]`
+ sklearn/externals/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, ...]` cannot be called with key of type `type[complex]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]]`
- sklearn/externals/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, str, str] | tuple[str, str]` cannot be called with key of type `type[float]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]]`
+ sklearn/externals/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, ...]` cannot be called with key of type `type[float]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]]`
- sklearn/externals/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, str, str] | tuple[str, str]` cannot be called with key of type `type[int]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]]`
+ sklearn/externals/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, ...]` cannot be called with key of type `type[int]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]]`
scipy (https://github.com/scipy/scipy)
- subprojects/array_api_extra/src/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, str, str] | tuple[str, str]` cannot be called with key of type `type[complex]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]]`
+ subprojects/array_api_extra/src/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, ...]` cannot be called with key of type `type[complex]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]]`
- subprojects/array_api_extra/src/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, str, str] | tuple[str, str]` cannot be called with key of type `type[float]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]]`
+ subprojects/array_api_extra/src/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, ...]` cannot be called with key of type `type[float]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]]`
- subprojects/array_api_extra/src/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, str, str] | tuple[str, str]` cannot be called with key of type `type[int]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, str, str] | tuple[str, str]]`
+ subprojects/array_api_extra/src/array_api_extra/_lib/_utils/_helpers.py:213:16 error[invalid-argument-type] Method `__getitem__` of type `bound method dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]].__getitem__(key: <class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, /) -> str | tuple[str, ...]` cannot be called with key of type `type[int]` on object of type `dict[<class 'bool'> | <class 'int'> | <class 'float'> | <class 'complex'>, str | tuple[str, ...]]`
setuptools (https://github.com/pypa/setuptools)
- setuptools/_distutils/tests/test_build_ext.py:378:9 error[invalid-assignment] Invalid subscript assignment with key of type `Literal["macros"]` and value of type `list[tuple[str, str] | tuple[str]]` on object of type `dict[str, list[str] | str | list[tuple[str, str, str] | str]]`
+ setuptools/_distutils/tests/test_build_ext.py:378:9 error[invalid-assignment] Invalid subscript assignment with key of type `Literal["macros"]` and value of type `list[tuple[str, ...]]` on object of type `dict[str, list[str] | str | list[tuple[str, str, str] | str]]`
vision (https://github.com/pytorch/vision)
- test/test_datasets.py:698:9 error[invalid-assignment] Invalid subscript assignment with key of type `Literal["trainval"]` and value of type `tuple[int, ...]` on object of type `dict[str, tuple[int, int, int] | tuple[int, int] | tuple[int]]`
- test/test_transforms_v2.py:1001:17 error[invalid-argument-type] Argument to function `resize` is incorrect: Expected `list[int] | None`, found `int | list[int] | tuple[int] | None | tuple[int, int]`
+ test/test_transforms_v2.py:1001:17 error[invalid-argument-type] Argument to function `resize` is incorrect: Expected `list[int] | None`, found `int | list[int] | None | tuple[int, ...]`
- test/test_transforms_v2.py:1007:55 error[invalid-argument-type] Argument to function `resize` is incorrect: Expected `list[int] | None`, found `int | list[int] | tuple[int] | None | tuple[int, int]`
+ test/test_transforms_v2.py:1007:55 error[invalid-argument-type] Argument to function `resize` is incorrect: Expected `list[int] | None`, found `int | list[int] | None | tuple[int, ...]`
- test/test_transforms_v2.py:1092:36 error[invalid-argument-type] Argument to function `resize` is incorrect: Expected `list[int] | None`, found `int | list[int] | tuple[int] | None | tuple[int, int]`
+ test/test_transforms_v2.py:1092:36 error[invalid-argument-type] Argument to function `resize` is incorrect: Expected `list[int] | None`, found `int | list[int] | None | tuple[int, ...]`
- test/test_transforms_v2.py:1094:20 error[invalid-argument-type] Argument to function `resize` is incorrect: Expected `list[int] | None`, found `int | list[int] | tuple[int] | None | tuple[int, int]`
+ test/test_transforms_v2.py:1094:20 error[invalid-argument-type] Argument to function `resize` is incorrect: Expected `list[int] | None`, found `int | list[int] | None | tuple[int, ...]`
- test/test_transforms_v2.py:1550:49 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `InterpolationMode | int`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1550:49 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `InterpolationMode | int`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1550:49 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1550:49 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1550:49 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Sequence[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1550:49 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Sequence[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1550:49 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Sequence[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1550:49 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `list[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1550:49 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `list[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
- test/test_transforms_v2.py:1604:13 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1604:13 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1604:13 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Sequence[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1604:13 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Sequence[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1691:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `InterpolationMode | int`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1691:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `InterpolationMode | int`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1691:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1691:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1691:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Sequence[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1691:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Sequence[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1746:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `InterpolationMode | int`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1746:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `InterpolationMode | int`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1746:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1746:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Number | Sequence[Unknown]`, found `int | tuple[int | float, int | float] | tuple[int, ...]`
- test/test_transforms_v2.py:1746:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Sequence[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, int, int, int]`
+ test/test_transforms_v2.py:1746:45 error[invalid-argument-type] Argument to `RandomAffine.__init__` is incorrect: Expected `Sequence[int | float] | None`, found `int | tuple[int | float, int | float] | tuple[int, ...]`d5e6069 to
d427c69
Compare
6ffa440 to
24eb4cb
Compare
23b7f84 to
cdf2c2e
Compare
Merging this PR will degrade performance by 5.64%
Performance Changes
Comparing Footnotes
|
f3eb780 to
4aece39
Compare
eff49a5 to
c11aeca
Compare
… single, variable size tuple
c11aeca to
3926566
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes astral-sh/ty#2620.
Test Plan
Please see new and updated mdtests.